import request from '@/utils/request.js'

/**
 * 获取个人信息
 * @param {*} params { uid 用户id}
 * @returns
 */
export function getUserInfo (params) {
  return request({
    url: '/user/detail',
    params
  })
}
